<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Hello World!</title>
</head>
<table>
    <tr>
        <td>姓名</td>
        <td>年龄</td>
        <td>钱包</td>
    </tr>
    <#list students as stu>
        <#if stu.name='小红'>
            <tr style="color: red">
                <td>${stu_index}</td>
                <td>${stu.name}</td>
                <td>${stu.age}</td>
                <td>${stu.money}</td>
            </tr>
        <#else>
            <tr>
                <td>${stu_index}</td>
                <td>${stu.name}</td>
                <td>${stu.age}</td>
                <td>${stu.money}</td>
            </tr>
        </#if>
    </#list>
</table>
<hr>
<#-- 数学运算 -->
<p>数学运算</p>
<h3>100 + 100 = ${100 + 100}</h3>
<h3> 10 - 9 = ${10 - 9}</h3>
<h3>100 / 50 = ${100 / 50}</h3>
<h3>100 * 100 = ${100 * 100}</h3>

<p>对空值的处理</p>
<#if students??>
    为空不显示
</#if>
<p>对缺省变量使用默认值，${ssss!"我是勒布朗"}</p>
</html>